import { post, get, postcontent } from "./api.js";

export const getMenuListApi = (params) => new Promise((resolve, reject) => {
    post('/api', params).then(res => {
        resolve(res.data)
    }).catch(err => {
        reject(err.data)
    })
})

